import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from OCR_GUI.firstPyQt5 import *
import gevent
from gevent import monkey
monkey.patch_all()

def main_start():
    ''' 主函数'''
    app = QApplication(sys.argv)
    mainWindow = QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(mainWindow)
    mainWindow.show()
    sys.exit(app.exec_())


if __name__ == '__main__':
    main_start()















